package cn.wolfcode.demo1.mapper;

import cn.wolfcode.demo1.domain.Department;
import cn.wolfcode.demo1.qo.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void add(Department department);
    void delete(Long id);
    void edit(Department department);
    Department selOneById(Long id);
    List<Department> selAll();
    List<Department> selectForList(QueryObject qo);
}
